object frmShowOffice: TfrmShowOffice
  Left = 0
  Top = 0
  ClientHeight = 330
  ClientWidth = 632
  Caption = #21150#20107#22788
  OldCreateOrder = False
  OnKeyPress = UniFormKeyPress
  MonitoredKeys.Keys = <>
  PixelsPerInch = 96
  TextHeight = 13
  object UniToolBar1: TUniToolBar
    Left = 0
    Top = 0
    Width = 632
    Height = 45
    Hint = ''
    ButtonHeight = 45
    ButtonWidth = 60
    ShowCaptions = True
    TabOrder = 0
    ParentColor = False
    Color = clBtnFace
    object tbQuery: TUniToolButton
      Left = 0
      Top = 0
      Hint = ''
      ImageIndex = 10
      Caption = #26597#35810
      TabOrder = 1
      OnClick = tbQueryClick
    end
    object UniToolButton2: TUniToolButton
      Left = 60
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton2'
      TabOrder = 2
    end
    object tbOK: TUniToolButton
      Left = 68
      Top = 0
      Hint = ''
      ImageIndex = 7
      Caption = #30830#23450
      TabOrder = 4
      OnClick = tbOKClick
    end
    object tbClear: TUniToolButton
      Left = 128
      Top = 0
      Hint = ''
      ImageIndex = 8
      Caption = #28165#38500
      TabOrder = 5
      OnClick = tbClearClick
    end
    object UniToolButton4: TUniToolButton
      Left = 188
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton4'
      TabOrder = 6
    end
    object tbClose: TUniToolButton
      Left = 196
      Top = 0
      Hint = ''
      ImageIndex = 41
      Caption = #20851#38381
      TabOrder = 3
      OnClick = tbCloseClick
    end
  end
  object UniPanel3: TUniPanel
    Left = 0
    Top = 45
    Width = 632
    Height = 55
    Hint = ''
    Align = alTop
    TabOrder = 1
    Caption = ''
    object edSiteFlags: TUniEdit
      Left = 70
      Top = 15
      Width = 60
      Hint = ''
      Text = ''
      TabOrder = 1
    end
    object UniLabel1: TUniLabel
      Left = 40
      Top = 20
      Width = 24
      Height = 13
      Hint = ''
      Caption = #32452#32455
      TabOrder = 2
    end
    object edOffno: TUniEdit
      Left = 210
      Top = 15
      Width = 80
      Hint = ''
      Text = ''
      TabOrder = 3
    end
    object UniLabel2: TUniLabel
      Left = 158
      Top = 20
      Width = 48
      Height = 13
      Hint = ''
      Caption = #22806#21150#32534#21495
      TabOrder = 4
    end
    object edOffName: TUniEdit
      Left = 360
      Top = 15
      Width = 200
      Hint = ''
      Text = ''
      TabOrder = 5
    end
    object UniLabel3: TUniLabel
      Left = 308
      Top = 20
      Width = 48
      Height = 13
      Hint = ''
      Caption = #22806#21150#21517#31216
      TabOrder = 6
    end
  end
  object UniPanel2: TUniPanel
    Left = 0
    Top = 100
    Width = 632
    Height = 230
    Hint = ''
    Align = alClient
    TabOrder = 2
    Caption = ''
    object UniDBGrid1: TUniDBGrid
      Left = 1
      Top = 1
      Width = 630
      Height = 228
      Hint = ''
      DataSource = dsoff_mst
      ReadOnly = True
      LoadMask.Message = 'Loading data...'
      Align = alClient
      TabOrder = 1
      OnDblClick = UniDBGrid1DblClick
      Columns = <
        item
          FieldName = 'off_no'
          Title.Alignment = taCenter
          Title.Caption = #21150#20107#22788#32534#21495
          Width = 80
        end
        item
          FieldName = 'off_name'
          Title.Alignment = taCenter
          Title.Caption = #21150#20107#22788#21517#31216
          Width = 150
        end
        item
          FieldName = 'off_area_no'
          Title.Alignment = taCenter
          Title.Caption = #29255#21306#32534#21495
          Width = 80
        end
        item
          FieldName = 'area_name'
          Title.Alignment = taCenter
          Title.Caption = #29255#21306#21517#31216
          Width = 150
        end>
    end
  end
  object dsoff_mst: TDataSource
    DataSet = zqoff_mst
    Left = 304
    Top = 160
  end
  object zqoff_mst: TZQuery
    Connection = UniMainModule.zDB
    SortedFields = 'off_no'
    SQL.Strings = (
      'select'
      '  off_snowflake,'
      '  off_site_flags,'
      '  off_no,'
      '  off_name,'
      '  off_area_snowflake,'
      '  off_area_no,'
      '  off_area_name'
      'from off_mst'
      'where off_snowflake > 0')
    Params = <>
    IndexFieldNames = 'off_no Asc'
    Left = 232
    Top = 168
    object zqoff_mstoff_snowflake: TLargeintField
      FieldName = 'off_snowflake'
      Required = True
    end
    object zqoff_mstoff_site_flags: TIntegerField
      DisplayLabel = #32452#32455
      FieldName = 'off_site_flags'
      Required = True
    end
    object zqoff_mstoff_no: TWideStringField
      DisplayLabel = #21150#20107#22788#32534#21495
      FieldName = 'off_no'
      Required = True
      Size = 5
    end
    object zqoff_mstoff_name: TWideStringField
      DisplayLabel = #21150#20107#22788#21517#31216
      FieldName = 'off_name'
      Required = True
    end
    object zqoff_mstoff_area_snowflake: TLargeintField
      FieldName = 'off_area_snowflake'
      Required = True
    end
    object zqoff_mstoff_area_no: TWideStringField
      DisplayLabel = #29255#21306#32534#21495
      FieldName = 'off_area_no'
      Required = True
      Size = 5
    end
    object zqoff_mstoff_area_name: TWideStringField
      FieldName = 'off_area_name'
      Required = True
      Size = 24
    end
  end
end
